package com.atguigu.myzhxy.service;

import com.atguigu.myzhxy.pojo.Admin;
import com.atguigu.myzhxy.pojo.LoginFrom;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * Created with IntelliJ IDEA.
 * ClassName: AdminService
 * Package: com.atguigu.myzhxy.service
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-01-12
 * Time: 15:18
 */

public interface AdminService extends IService<Admin> {
    Admin login(LoginFrom loginFrom);

    Admin getAdminById(Long userId);


    IPage<Admin> getAdminByOpr(Page<Admin> pageParam, String adminName);
}
